package top.hcode.hoj.pojo.entity.coll;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 荣誉记录
 * (coll_honor_record)表实体类
 *
 * @author orangej
 * @since 2025-01-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("coll_honor_record")
public class CollHonorRecord implements Serializable {

    private static final long serialVersionUID = 8360159674L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    private String collId;

    private String userId;

    private String title;

    @ApiModelProperty(value = "荣誉等级",notes = "0 国家级、1 省级、2 市级、3 区级、4 校级")
    private Integer level;

    private Date honorDate;

    @ApiModelProperty(value = "证书图片，多张图片用逗号隔开")
    private String certImgs;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


    /*关联属性*/

}
